home *** CD-ROM | disk | FTP | other *** search
/ The Atari Compendium / The Atari Compendium (Toad Computers) (1994).iso / files / prgtools / langs / sozo2 / scsrc20.lzh / LD.LZH / STRUCTS.H < prev    next >
Encoding:
C/C++ Source or Header  |  1991-02-22  |  1.2 KB  |  54 lines

  1.  
  2. /*
  3.  * Copyright (c) 1991 by Sozobon, Limited.  Author: Johann Ruegg
  4.  *
  5.  * Permission is granted to anyone to use this software for any purpose
  6.  * on any computer system, and to redistribute it freely, with the
  7.  * following restrictions:
  8.  * 1) No charge may be made other than reasonable charges for reproduction.
  9.  * 2) Modified versions must be clearly marked as such.
  10.  * 3) The authors are not responsible for any harmful consequences
  11.  *    of using this software, even if they result from defects in it.
  12.  */
  13.  
  14. #define OMAGIC 0x601a
  15. #define AMAGIC 0xff65
  16.  
  17. struct generic {
  18.     struct generic *next;
  19. };
  20.  
  21. struct finfo {
  22.     struct finfo *next;    /* must be first */
  23.     char name[1];
  24. };
  25.  
  26. struct hdr_l {
  27.     long tsize, dsize, bsize;
  28.     long syms;
  29. };
  30.  
  31. #define HDRFILL    10
  32. #define HDRSIZE    (2+HDRFILL+sizeof(struct hdr_l))
  33.  
  34. struct oinfo {
  35.     struct oinfo *next;    /* must be first */
  36.     struct finfo *finfo;
  37.     char aname[14];
  38.     struct hdr_l oh;
  39.     struct symchunk *sp;
  40.     int havex;
  41.     long tbase, dbase, bbase;
  42. };
  43.  
  44. struct ainfo {
  45.     struct ainfo *next;    /* must be first */
  46.     char aname[14];
  47.     char used;
  48.     long aoffs;
  49.     struct hdr_l ah;
  50.     struct symchunk *sp;
  51.     int havex;
  52. };
  53.  
  54.